<div style="padding:10px 0;overflow: hidden">
    <button nz-button (click)="goBack()" style="float: right;">返回</button>
</div>

<nz-table
    #drillTable
    [nzAjaxData]="data"
    [nzLoading]="loading"
    [nzTotal]="total"
    [(nzPageIndex)]="Pi"
    (nzPageIndexChange)="refreshData()"
    [(nzPageSize)]="Ps"
>
    <thead nz-thead>
    <tr>
        <th nz-th>
            <span>头像</span>
        </th>
        <th nz-th>
            <span>学生姓名</span>
        </th>
        <th nz-th>
            <span>演练角色</span>
        </th>
        <th nz-th>
            <span>项目评论场景</span>
        </th>
        <th nz-th>
            <span>参与评论条数</span>
        </th>
        <th nz-th>
            <span>项目决策场景</span>
        </th>
        <th nz-th>
            <span>参与决策次数</span>
        </th>
        <th nz-th>
            <span>系统评分</span>
        </th>
        <th nz-th>
            <span>教师评分</span>
        </th>
        <!--<th nz-th>-->
        <!--<span>演练班级</span>-->
        <!--</th>-->
        <!--<th nz-th>-->
        <!--<span>演练课程</span>-->
        <!--</th>-->
        <th nz-th>
            <span>操作</span>
        </th>
    </tr>
    </thead>
    <tbody nz-tbody>
    <tr nz-tbody-tr *ngFor="let item of drillTable.data">
        <td nz-td>
            <img [src]="http.IP_PORT + item.imagepath" alt="">
        </td>
        <td nz-td>
            {{item.UserName}}
        </td>
        <td nz-td>
            {{item.g_name}}
        </td>
        <td nz-td>
            {{item.projectAnswerTotal}}
        </td>
        <td nz-td>
            {{item.answerTotal}}
        </td>
        <td nz-td>
            {{item.sceneTotal}}
        </td>
        <td nz-td>
            {{item.decisionTotal}}
        </td>
        <td nz-td>
            {{item.sysScore}}
        </td>
        <td nz-td>
            {{item.techScore}}
        </td>
        <td nz-td>
            <a (click)="show(item.u_id)">点评</a>
        </td>
    </tr>
    </tbody>
</nz-table>
<nz-modal  [nzWrapClassName]="'vertical-center-modal spe-modal'" [nzVisible]="showModal" [nzTitle]="'教师点评'" [nzConfirmLoading]="modalLoading" [nzContent]="modalContent2"
           (nzOnCancel)="showModal=false" (nzOnOk)="save()" [nzOkText]="'确认'" [nzCancelText]="'取消'" style="margin-top: -100px">
    <ng-template #modalContent2>
        <div nz-form-item nz-row style="margin-bottom: 10px">
            <div nz-form-label nz-col [nzSpan]="6" [nzSm]="4" style="margin-top: 5px">
                <label>综合评分:</label>
            </div>
            <div nz-form-control nz-col [nzSm]="20" >
                <nz-input [(ngModel)]="score" name="description" [nzSize]="'large'" [nzPlaceHolder]="'请输入'" nzId="no"></nz-input>
            </div>
        </div>
        <div nz-form-item nz-row>
            <div nz-form-label nz-col [nzSpan]="6" [nzSm]="4" style="margin-top: 5px">
                <label>教师评语:</label>
            </div>
            <div nz-form-control nz-col [nzSm]="20" >
                <nz-input [(ngModel)]="evaluate" name="description" [nzSize]="'large'" [nzPlaceHolder]="'请输入'" nzId="no"></nz-input>
            </div>
        </div>
    </ng-template>
</nz-modal>
